-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add DNS provider ClouDNS #8207
feat: add DNS provider ClouDNS #8207
Conversation
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
感谢支持。 |
authID: [{ | ||
validator: (rule: any, value: any, callback: any) => { | ||
if (!value && !account.value.authorization.subAuthID) { | ||
callback(new Error(i18n.global.t('commons.validate.requiredInput'))); | ||
} else { | ||
callback(); | ||
} | ||
}, | ||
trigger: ['blur', 'change'] | ||
}], | ||
subAuthID: [{ | ||
validator: (rule: any, value: any, callback: any) => { | ||
if (!value && !account.value.authorization.authID) { | ||
callback(new Error(i18n.global.t('commons.validate.requiredInput'))); | ||
} else { | ||
callback(); | ||
} | ||
}, | ||
trigger: ['blur', 'change'] | ||
}], | ||
authPassword: [Rules.requiredInput], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请使用 Rules.requiredInput
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请使用 Rules.requiredInput
authID
和subAuthID
只要其中一个有值的情况下,有什么建议吗?
ClouDNS官网文档: https://www.cloudns.net/wiki/article/42/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这样的话,建议提交的时候处理,submit 之前判断一下。不一定非得用表单检验。
b59219d
to
90d6148
Compare
Refs #8201